﻿namespace FlyingHat.Extensions.Redis
{
    public interface IRedisHelper
    {
        bool Set<T>(string key, T value);
        bool Set<T>(string key, T value, int timeoutSeconds);
        T Get<T>(string key);
        bool Exists(string key);
    }
}
